package com.hebeiboruan.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hebeiboruan.entity.system.Power;
import com.hebeiboruan.entity.system.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 刘焕林
 * @date 2023/11/02
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

  Boolean authenticationPermission(@Param("userNo") Integer userNo,@Param("path") String path);
  List<Power> getUserPower(Integer userNo);
  List<String> getOverdueVerificationCode();
}
